package com.yfqy.admin.domain.mapper;

import com.yfqy.admin.domain.entity.ProductSpuImages;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProductSpuImagesMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ProductSpuImages record);

    int insertSelective(ProductSpuImages record);

    ProductSpuImages selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ProductSpuImages record);

    int updateByPrimaryKey(ProductSpuImages record);

    List<ProductSpuImages> selectMainImagesBySpuIds(@Param("spuIds") List<Long> spuIds);
}